#pragma once
#include "predef.h"
#include "IMEWindow.h"
#include "../Pattern/Singleton.h"

namespace IME
{
	class Win32ImeSensor:
		public Pattern::Singleton<Win32ImeSensor>
	{
		DECLARE_Singleton(Win32ImeSensor);
	private:
		ImeWindow* pWindow;
		
	protected:
		Win32ImeSensor(void);
		~Win32ImeSensor(void);
	public:
		bool IMEFollow(HWND hWnd);
		ImeWindow* GetImeWindow() const;
		void SetImeWindow(ImeWindow* val);
	};
}
